<include file="public:header"/>
<div class="allpagetop">问题附件<strong>/</strong>列表</div>
<div class="admin_main_nr_dbox">
    <div class="pagetit">
        <div class="ptit">图片管理</div>
        <div class="topnav">

            <div class="clear"></div>
        </div>
        <div class="clear"></div>
    </div>


    <form action="{:RU('annex/delete')}" method="post" name="form1">
        <div class="toptit nomargin">附件图片</div>

        <div class="imglist">


            <volist name="lists.list" id="list">


                <div class="li">
                    <div class="checkbox">
                        <input name="id[]" type="checkbox" value="{$list.id}"/>
                    </div>


                    <a href="{$list.imgurl}" target="_blank"> <img src="{$list.imgurl}" border="0"
                                                                   align="absmiddle"/></a>
                    <div class="imgfoot link_w">
                        <!--<a class="imguser" href="#" target="_blank"></a>-->
                        <a class="imgurl" href="{$list.imgurl}" target="_blank" style="left: 0;"></a>
                        <div class="dete" style="left: 32px;">{$list.addtime|date="Y-m-d H:i",###}</div>
                        <div class="del"><a href="{:RU('annex/delete',array('id'=>$list['id']))}"
                                            onclick="return confirm('你确定要删除吗？')">删除</a></div>

                    </div>

                </div>


            </volist>


            <div class="clear"
            <notempty name="list">style="height:20px;"</notempty>
            >
        </div>
</div>

<empty name="lists.list">
    <div class="admin_list_no_info">没有任何信息！</div>
</empty>


<div class="admin_list_foot">
    <div class="btnbox">

        <input type="button" class="admin_submit" id="ButDel" value="删除"/>
    </div>

</div>
</form>

<div class="uupage">{$lists.page}</div>
</div>
<include file="public:footer"/>
<script type="text/javascript">
    $(document).ready(function () {

        $("#ButDel").click(function () {
            if (confirm('你确定要删除吗？')) {
                $("form[name=form1]").submit()
            }
        });
    });
</script>
</body>
</html>